package com.ada.dao;

import com.ada.pojo.User;

import java.util.List;

public interface IUserDao {
    //查询所有
    public List<User> findAll() throws Exception;

    //条件查询
    public User findByCondition(User user) throws Exception;

    public Integer update(User user) throws Exception;

    public Integer insert(User user) throws Exception;

    public Integer delete(Integer id) throws Exception;

}
